home *** CD-ROM | disk | FTP | other *** search
- Short: 060 Patches for UMult64/SMult64 V1.3
- Author: kakace@aix.pacwan.net (Didier Levet), dbusse@metronet.de (Dirk Busse)
- Uploader: dbusse@metronet.de (Dirk Busse)
- Type: util/boot
-
-
- This is a small patch which replace the UMult64
- and SMult64 functions of utility.library V39+.
-
- These new functions are 2 times faster than the
- ones placed by 68060.library, and 4 times faster
- than the Trap emulation.
-
- Well, these functions are not often used, so
- don't expect an incredible speedup :))
- You can run Mult64SpeedTest (included) to see the
- benchmarks.
-
- I just write them to learn how to optimize 68060's
- code (sources included). So don't blame me if you
- think that the speed gain is useless ;-)
-
- Now, you only have to copy PatchMult64 in your
- "C:" directory, and add "C:PatchMult64" in your
- startup-sequence, right after Setpatch (or anywhere
- else, but not before).
- PatchMult64 sets the return code as follow :
- - 0 : Patches succesfully installed.
- - 5 : Patches already installed
- or Patches installed, but you have only a 68040 (see comment to V1.2)
- - 10 : Unable to install the patches.
-
- That's all !
-
- With the program "Mult64SpeedTest" you could see the times of the
- functions currently used by your AMIGA.
-
-
- History:
-
- 1.0 Original Version from Didier Levet
-
- 1.1 - Source Code changed for using PhxAss (the best Assembler I know!)
- - Speed Improvement: UMult64 5.6% faster than V1.0
- SMult64 3.6% faster than V1.0
- - Removed the check for a loaded 68060.library, the Patches needn't
- the 68060.library and the check for a 68060 CPU is sufficient.
-
- 1.2 (The patches itself aren't changed. They are the same as V1.1. Only
- the installation routine is changed.)
- - Fixed the detection of the 68060 CPU (It was testing the wrong
- byte).
- - Now it is possible to install the patch, without the 68060.library.
- So you could start PatchMult64 befor SetPatch (NOT recommend).
- (If you use the 68060.library V1.9 (05.09.96) from Ralph Babel, you
- have to dissable the 68060.library to use ReOrg 3.11 with large
- option files. Otherwise ReOrg crashes because a bug in Ralph
- Babels 68060.library.)
- Without a 68060.library the AMIGA thinks it has only a 68040 CPU.
- So if PatchMult64 finds only a 68040 CPU, it installs the Patches
- and quits with a return code of 5 (=warn).
- So now you could also install the patches on a 68040 AMIGA. BUT
- DON'T DO THAT. On a 68040 CPU the patches slows down the UMult64
- and SMult64 functions.
- PatchMult64 is still ONLY useful on a 68060 AMIGA.
-
- 1.3 - Speeded up SMult64 2% if the result is negative.
- Thanks to dave <dt14@uow.edu.au> for the hint.
- - Cleaned the code to be smaler.
- - Removed the old SpeedTest from the archive and included the new
- Mult64SpeedTest.
-
- -------------------------
- Dirk Busse
- <dbusse@primus-online.de>
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 3063 1392 54.5% 26-Sep-98 15:18:36 Mult64Patch.readme
- 824 482 41.5% 26-Sep-98 14:18:38 Mult64SpeedTest
- 5152 1063 79.3% 26-Sep-98 14:26:42 Mult64SpeedTest.s
- 476 416 12.6% 26-Sep-98 14:35:26 PatchMult64
- 3319 1032 68.9% 26-Sep-98 12:45:16 PatchMult64.s
- 8559 1650 80.7% 26-Sep-98 14:25:42 UMult_SMult_060.s
- -------- ------- ----- --------- --------
- 21393 6035 71.7% 26-Sep-98 20:02:54 6 files
-